Import cal3d

Class CalCoreKeyframe
	
	Field m_time:Float
	Field m_translation:CalVector
	Field m_rotation:CalQuaternion
	
	Method New()
	
		m_time = 0
		m_translation = New CalVector()
		m_rotation = New CalQuaternion()
	End

	Method New(time:Float,t:CalVector,r:CalQuaternion)
	
		m_time = time
		m_translation = New CalVector(t)
		m_rotation = New CalQuaternion(r)
		
	End
	
	Method create:Bool() 'not sure what this method was for..
		Return True
	End
	
	Method destroy:Void() 'um...
	
	End
	
	Method getRotation:CalQuaternion()
	
		Return m_rotation
	
	End
	
	Method getTranslation:CalVector()
		
		Return m_translation
		
	End
	
	Method getTime:Float()
	
		Return m_time
	End
	
	Method setRotation:Void(rotation:CalQuaternion)
		m_rotation.assign(rotation)
	End
	
	Method setTranslation:Void(translation:CalVector)
		m_translation.assign(translation)
	End
	
	Method setTime:Void(time:Float)
		m_time = time
	End


End Class
